package br.eng.eliseu.gwt.aconchego.camera.client;

import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;
import java.util.TimeZone;

public class Teste {

	/**
	 * @param args
	 */
	public static void main(String[] args) {

		TimeZone tz = TimeZone.getTimeZone("America/Sao_Paulo");  
//		TimeZone tz = TimeZone.getTimeZone("GMT-5:00");  
		System.out.println("Time zone:" + tz);
        TimeZone.setDefault(tz);  
        Calendar ca = GregorianCalendar.getInstance(tz);  

        Date d1 = ca.getTime();
        Date d2 = new Date();
        
        System.out.println(d1);
        System.out.println(d2);

	}

}
